//
//  playerTableViewController.h
//  SoundPill
//
//  Created by 宋旭东 on 16/8/23.
//  Copyright © 2016年 宋旭东. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AFNetworking.h"
#import "UIImageView+WebCache.h"
#import "playerTableviewHeader.h"
#import "Player_ShowModel.h"
#import "Play_commentView.h"
#define kAppKey @"2054753137"
#define kRedirectURI @"http://sns.whalecloud.com/sina2/callback"
@interface playerTableViewController : UIViewController<UITableViewDelegate, UITableViewDataSource>
//数据
@property (strong, nonatomic) NSString *uid;
@property (strong, nonatomic) NSString *workID;
@property (strong, nonatomic) NSString *locUserAvatar;
@property (strong, nonatomic) NSString *qiniuPlayUrlStr;
@property (strong, nonatomic) NSString *waveform;
@property (assign, nonatomic) BOOL isSelf;
@property (assign, nonatomic) BOOL isPrivate;
//界面
@property (strong, nonatomic) UITableView *tableview;
@property (strong, nonatomic) playerTableviewHeader *header;
//评论列表
@property (strong, nonatomic) NSMutableArray *commentListArray;
@property (strong, nonatomic) Play_commentView *commentField;
@property (strong, nonatomic) NSIndexPath *delIndexPath;
@property (strong, nonatomic) UIImageView *more;
+(playerTableViewController *)sharedInstance;
- (void)reloadViews:(Player_ShowModel *)playModel;
- (void)shareToSina;
- (void)shareToWXTimeline;
- (void)shareToWXSession;
- (void)backToThePrevious:(UIButton *)sender;
- (void)initSheetData;
@end
